let initState = () => ({
  collapsed          : false,   //菜单最小化
});

export default {
  namespace: 'global',
  state: { ...initState() },
  effects: {},
  reducers: {
    setState(state, { payload }) {
      return { ...state, ...payload };
    },
    init(state, { payload }) {
      return { ...initState(), ...payload };
    },
  },
};
